package com.jcl.cloud.services.unicrawler.common.dto;

public class GrabResult {


    private String crawlerId;
    private String tenantId;
    private String accountKey;

    private String cron;

    private String level;
    private String runScale;
    private String afterRunScale;
    private String nextExecuteTime;


    private boolean needSearch;

    private boolean needLogin;

    private String traceId;

    private String msg;


    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isNeedSearch() {
        return needSearch;
    }

    public void setNeedSearch(boolean needSearch) {
        this.needSearch = needSearch;
    }

    public boolean isNeedLogin() {
        return needLogin;
    }

    public void setNeedLogin(boolean needLogin) {
        this.needLogin = needLogin;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getAccountKey() {
        return accountKey;
    }

    public void setAccountKey(String accountKey) {
        this.accountKey = accountKey;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getRunScale() {
        return runScale;
    }

    public void setRunScale(String runScale) {
        this.runScale = runScale;
    }

    public String getAfterRunScale() {
        return afterRunScale;
    }

    public void setAfterRunScale(String afterRunScale) {
        this.afterRunScale = afterRunScale;
    }

    public String getNextExecuteTime() {
        return nextExecuteTime;
    }

    public void setNextExecuteTime(String nextExecuteTime) {
        this.nextExecuteTime = nextExecuteTime;
    }



    public String getCrawlerId() {
        return crawlerId;
    }

    public void setCrawlerId(String crawlerId) {
        this.crawlerId = crawlerId;
    }


    @Override
    public String toString() {
        return "GrabResult{" +
                "crawlerId='" + crawlerId + '\'' +
                ", tenantId='" + tenantId + '\'' +
                ", accountKey='" + accountKey + '\'' +
                ", cron='" + cron + '\'' +
                ", level='" + level + '\'' +
                ", runScale='" + runScale + '\'' +
                ", afterRunScale='" + afterRunScale + '\'' +
                ", nextExecuteTime='" + nextExecuteTime + '\'' +
                ", needSearch=" + needSearch +
                ", needLogin=" + needLogin +
                '}';
    }
}
